package com.jnevision.deptovertimefee.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;


/**
 * <p>
 * 部门加班费用设置
 * </p>
 *
 * @author gavin
 * @since 2019-07-26
 */
@TableName("b_dept_overtime_fee")
public class DeptOvertimeFee extends Model<DeptOvertimeFee> {
    private static final long serialVersionUID = -6099712122658368327L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("dept_id")
    private Integer deptId;

    /**
     * 部门加班费
     */
    @TableField("unit_price")
    private String unitPrice;
	public Integer getId() {

        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public String getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(String unitPrice) {
        this.unitPrice = unitPrice;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "DeptOvertimeFee{" + "id=" + id + ", deptId=" + deptId + ", unitPrice=" + unitPrice + "}";
    }
}